dreamweaver.relativeToAbsoluteURL()

Availability 2.0
Description Given a relative URL and a point of reference (either the path to the current document or the site root), converts the relative URL to an absolute (file://) URL.
Arguments relURL, docPath, siteRoot
The first argument is the URL to be converted.
The second argument is the path to a document on the user's disk (for example, the current document), expressed as a file:// URL, or an empty string if relURL is a root-relative URL.
The third argument is the path to the site root, expressed as a file:// URL, or an empty string if relURL is a document-relative URL.
Returns An absolute URL string. The return value is generated as follows:
If relURL is an absolute URL, no conversion takes place, and the return value is the same as relURL.
If relURL is a document-relative URL, the return value is the combination of docPath + relURL.
If relURL is a root-relative URL, the return value is the combination of siteRoot + relURL.
Enabler None.